<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Simulateur Intersections: Plan::Route Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Simulateur Intersections
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="class_plan.html">Plan</a>      </li>
      <li class="navelem"><a class="el" href="class_plan_1_1_route.html">Route</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">Plan::Route Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Plan::Route" -->
<p><a href="class_plan_1_1_route-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_plan_1_1_route_1_1_voie.html">Voie</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a736890210b8da4786c7b1cb994872cbc"></a><!-- doxytag: member="Plan::Route::VoieList" ref="a736890210b8da4786c7b1cb994872cbc" args="" -->
typedef QList&lt; <a class="el" href="class_plan_1_1_route_1_1_voie.html">Voie</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>VoieList</b></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_plan_1_1_route.html#a272211e58b2c00d8c47f76a2541a9b32">Route</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_plan_1_1_route.html#a40522c65f1a5370540d515a89108e571">Route</a> (const QString &amp;nom, <a class="el" href="class_plan_1_1_intersection.html">Intersection</a> *premiere, <a class="el" href="class_plan_1_1_intersection.html">Intersection</a> *deuxieme)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2e96d05151049f84deae81dbfcc1e6de"></a><!-- doxytag: member="Plan::Route::nom" ref="a2e96d05151049f84deae81dbfcc1e6de" args="() const " -->
const QString &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>nom</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afe21b8041f801d0cf95001f065a7cda2"></a><!-- doxytag: member="Plan::Route::longueur" ref="afe21b8041f801d0cf95001f065a7cda2" args="() const " -->
qreal&#160;</td><td class="memItemRight" valign="bottom"><b>longueur</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ade442a3fdf83b79a906e10b704e902dd"></a><!-- doxytag: member="Plan::Route::largeur" ref="ade442a3fdf83b79a906e10b704e902dd" args="() const " -->
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>largeur</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a05b93ff6af8a135f039a983e252c218d"></a><!-- doxytag: member="Plan::Route::premier" ref="a05b93ff6af8a135f039a983e252c218d" args="() const " -->
const <a class="el" href="class_utils_1_1_point.html">Utils::Point</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>premier</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9bc2146c3ebf659c5e92fb07d568b19b"></a><!-- doxytag: member="Plan::Route::premier" ref="a9bc2146c3ebf659c5e92fb07d568b19b" args="()" -->
<a class="el" href="class_utils_1_1_point.html">Utils::Point</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>premier</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a45a4914a0baaa3d7d5f601db1ea250de"></a><!-- doxytag: member="Plan::Route::deuxieme" ref="a45a4914a0baaa3d7d5f601db1ea250de" args="() const " -->
const <a class="el" href="class_utils_1_1_point.html">Utils::Point</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>deuxieme</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a781a7d1c9b2ee816a42956f95e77f436"></a><!-- doxytag: member="Plan::Route::deuxieme" ref="a781a7d1c9b2ee816a42956f95e77f436" args="()" -->
<a class="el" href="class_utils_1_1_point.html">Utils::Point</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>deuxieme</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6b4209f139a100c2423a3c5b02996c8b"></a><!-- doxytag: member="Plan::Route::getPremiereIntersection" ref="a6b4209f139a100c2423a3c5b02996c8b" args="() const " -->
const <a class="el" href="class_plan_1_1_intersection.html">Intersection</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getPremiereIntersection</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab1f1c26e99479cec81aefcda8253e270"></a><!-- doxytag: member="Plan::Route::getPremiereIntersection" ref="ab1f1c26e99479cec81aefcda8253e270" args="()" -->
<a class="el" href="class_plan_1_1_intersection.html">Intersection</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getPremiereIntersection</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae0dfbbc3bdf2dd7a4b2cb95cb291d711"></a><!-- doxytag: member="Plan::Route::getDeuxiemeIntersection" ref="ae0dfbbc3bdf2dd7a4b2cb95cb291d711" args="() const " -->
const <a class="el" href="class_plan_1_1_intersection.html">Intersection</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getDeuxiemeIntersection</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7e0b54f34d86a8b7e8d4729ed31e97a"></a><!-- doxytag: member="Plan::Route::getDeuxiemeIntersection" ref="ad7e0b54f34d86a8b7e8d4729ed31e97a" args="()" -->
<a class="el" href="class_plan_1_1_intersection.html">Intersection</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getDeuxiemeIntersection</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7a3988dc83d5c6f69ae604f5e196838"></a><!-- doxytag: member="Plan::Route::getDirection" ref="ad7a3988dc83d5c6f69ae604f5e196838" args="(const Intersection *prochaineIntersection) const " -->
Voie::Direction&#160;</td><td class="memItemRight" valign="bottom"><b>getDirection</b> (const <a class="el" href="class_plan_1_1_intersection.html">Intersection</a> *prochaineIntersection) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_plan_1_1_route_1_1_voie.html">Voie</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_plan_1_1_route.html#a4b8bff3a0546485e8ff21908da83e097">voie</a> (Voie::Direction d, int positionVoie, bool &amp;resultatOk) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6eb0edc12e29b0258c70ae417e4b0395"></a><!-- doxytag: member="Plan::Route::nbVoies" ref="a6eb0edc12e29b0258c70ae417e4b0395" args="(Voie::Direction d) const " -->
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>nbVoies</b> (Voie::Direction d) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a94c5af7e2d7cd268e8679ae84fbb0d8c"></a><!-- doxytag: member="Plan::Route::nbVoies" ref="a94c5af7e2d7cd268e8679ae84fbb0d8c" args="() const " -->
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>nbVoies</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a126f50d6348c04aacc81bcb8e690177f"></a><!-- doxytag: member="Plan::Route::ajouterVoie" ref="a126f50d6348c04aacc81bcb8e690177f" args="(int positionVoie, Voie::Direction dir)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>ajouterVoie</b> (int positionVoie, Voie::Direction dir)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9d4e22dbbaa41203d7f514477170efab"></a><!-- doxytag: member="Plan::Route::ajouterVoie" ref="a9d4e22dbbaa41203d7f514477170efab" args="(const Voie &amp;v)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>ajouterVoie</b> (const <a class="el" href="class_plan_1_1_route_1_1_voie.html">Voie</a> &amp;v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afa941d941b9ec7aca855f98b34027312"></a><!-- doxytag: member="Plan::Route::recalculerSegmentsVoie" ref="afa941d941b9ec7aca855f98b34027312" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>recalculerSegmentsVoie</b> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4263857a04661812f1786e091f5ccf43"></a><!-- doxytag: member="Plan::Route::m_Nom" ref="a4263857a04661812f1786e091f5ccf43" args="" -->
QString&#160;</td><td class="memItemRight" valign="bottom"><b>m_Nom</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4509b86178aae70ab88e8d0f12d2dabe"></a><!-- doxytag: member="Plan::Route::m_VoiesPremVersDeux" ref="a4509b86178aae70ab88e8d0f12d2dabe" args="" -->
QList&lt; <a class="el" href="class_plan_1_1_route_1_1_voie.html">Voie</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_VoiesPremVersDeux</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a509229833420a7cfe01460786abcb549"></a><!-- doxytag: member="Plan::Route::m_VoiesDeuxVersPrem" ref="a509229833420a7cfe01460786abcb549" args="" -->
QList&lt; <a class="el" href="class_plan_1_1_route_1_1_voie.html">Voie</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_VoiesDeuxVersPrem</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a80ebfc7f019ed3b0da5a405c4ba7f388"></a><!-- doxytag: member="Plan::Route::m_Premier" ref="a80ebfc7f019ed3b0da5a405c4ba7f388" args="" -->
<a class="el" href="class_utils_1_1_point.html">Utils::Point</a>&#160;</td><td class="memItemRight" valign="bottom"><b>m_Premier</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae8ba65c33598c4b898ee880ca5a208f6"></a><!-- doxytag: member="Plan::Route::m_Deuxieme" ref="ae8ba65c33598c4b898ee880ca5a208f6" args="" -->
<a class="el" href="class_utils_1_1_point.html">Utils::Point</a>&#160;</td><td class="memItemRight" valign="bottom"><b>m_Deuxieme</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a42d1ab9ca9cd0c18c6aecc3b87087fe4"></a><!-- doxytag: member="Plan::Route::m_PremiereIntersection" ref="a42d1ab9ca9cd0c18c6aecc3b87087fe4" args="" -->
<a class="el" href="class_plan_1_1_intersection.html">Intersection</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>m_PremiereIntersection</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad8aa971cddc66b3f8925f1bfac6ef819"></a><!-- doxytag: member="Plan::Route::m_DeuxiemeIntersection" ref="ad8aa971cddc66b3f8925f1bfac6ef819" args="" -->
<a class="el" href="class_plan_1_1_intersection.html">Intersection</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>m_DeuxiemeIntersection</b></td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a272211e58b2c00d8c47f76a2541a9b32"></a><!-- doxytag: member="Plan::Route::Route" ref="a272211e58b2c00d8c47f76a2541a9b32" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Plan::Route::Route </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructeur </p>

</div>
</div>
<a class="anchor" id="a40522c65f1a5370540d515a89108e571"></a><!-- doxytag: member="Plan::Route::Route" ref="a40522c65f1a5370540d515a89108e571" args="(const QString &amp;nom, Intersection *premiere, Intersection *deuxieme)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Plan::Route::Route </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>nomRoute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_plan_1_1_intersection.html">Plan::Intersection</a> *&#160;</td>
          <td class="paramname"><em>premiere</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_plan_1_1_intersection.html">Plan::Intersection</a> *&#160;</td>
          <td class="paramname"><em>deuxieme</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructeur </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">nomRue</td><td>Nom de la <a class="el" href="class_plan_1_1_route.html">Route</a> </td></tr>
    <tr><td class="paramname">premiere</td><td><a class="el" href="class_plan_1_1_intersection.html">Intersection</a> Départ </td></tr>
    <tr><td class="paramname">deuxieme</td><td><a class="el" href="class_plan_1_1_intersection.html">Intersection</a> Fin </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a4b8bff3a0546485e8ff21908da83e097"></a><!-- doxytag: member="Plan::Route::voie" ref="a4b8bff3a0546485e8ff21908da83e097" args="(Voie::Direction d, int positionVoie, bool &amp;resultatOk) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_plan_1_1_route_1_1_voie.html">Plan::Route::Voie</a> &amp; Plan::Route::voie </td>
          <td>(</td>
          <td class="paramtype">Voie::Direction&#160;</td>
          <td class="paramname"><em>d</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>positionVoie</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool &amp;&#160;</td>
          <td class="paramname"><em>resultatOk</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">d</td><td>Direction de la voie voulue </td></tr>
    <tr><td class="paramname">positionVoie</td><td>Position de la voie voulue </td></tr>
    <tr><td class="paramname">resultatOk</td><td>True si la position voie voulue existe, false sinon </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>voie dans la direction d à la position indiquée ou la première voie dans la direction d si la position indiquée ne correspond pas à une voie </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>main/<a class="el" href="plan_8h_source.html">plan.h</a></li>
<li>main/plan.cpp</li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu Dec 1 2011 16:12:42 for Simulateur Intersections by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
